{% extends "base.html" %}
{% block title %}这位老师该是怎样的？{% endblock %}
{% block content %}
<div class="container">
	<br/>
	<form action="{% url 'teacher:comment_editor' look_teacher.teacher_id %}" 
						method="post" class="form-horizontal">
		<div class="col-md-12">
			{% csrf_token %}
			<fieldset>
				<legend><h1>你对{{ look_teacher.name }}的评论</h1></legend>
				{{ comment_form.media }}
				{{ comment_form.as_p }}
			</fieldset>
		</div>
		<br/>
		<button type="submit" class="btn btn-primary">提交你对Ta的印象</button>
	</form>
	<br/>
	<p class="help-block">Tips：尽量一次性填完哦，另外不要乱填，例如114514这类······</p>
	{% if error_message != None %}
	<p class="warning">{{ error_message }}</p>
	{% endif %}
</div>
{% endblock %}